<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>饿了吗后台管理系统</title>
    <link rel="stylesheet" href="{{ url_for('static',filename='css/page.css') }}"/>
    <link rel="stylesheet" href="{{ url_for('static',filename='css/bootstrap.min.css') }}"/>
    <script type="text/javascript" src="{{ url_for('static',filename='js/jquery.min.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static',filename='js/end_index.js') }}"></script>
    {% block head_js %}{% endblock %}
</head>
<body>
<div class="top">
  <!--  <div class="leftTiyle" id="flTitle">店铺管理中心</div> -->
    <div class="thisUser">当前用户：{% if current_user.is_authenticated %}{{ current_user.username }}{% endif %}&nbsp;&nbsp;<a href="{{ url_for('cms_bp.logout') }}">注销</a> </div>
</div>
<div class="left">
    <div class="bigTitle">饿了吗后台管理系统</div>
    <div class="lines">
        <div onclick="pageClick(this)" class="active"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;<a
                target="_self" href="{{ url_for('cms_bp.end_index') }}">首 页</a>
        </div>
        <div onclick="pageClick(this)">
            <span class="glyphicon glyphicon-th-large"></span>&nbsp;&nbsp;<a href="{{ url_for('cms_bp.add_shop') }}" target="_self">创建店铺</a>
        </div>
        <div onclick="pageClick(this)">
            <span class="glyphicon glyphicon-th-list"></span>&nbsp;&nbsp;<a href="{{ url_for('cms_bp.add_cate') }}" target="_self">菜品分类管理</a>
        </div>
        <div onclick="pageClick(this)">
            <span class="glyphicon glyphicon-cutlery"></span>&nbsp;&nbsp;<a href="{{ url_for('cms_bp.add_food') }}" target="_self">添加菜品管理</a>
        </div>
        <div onclick="pageClick(this)">
            <span class="glyphicon glyphicon-calendar"></span>&nbsp;&nbsp;<a href="" target="_self">在售门店管理</a></div>
        <div onclick="pageClick(this)">
            <img src="{{ url_for('static',filename='images/icon-4.png') }}"/><a href="" target="_self">收货地址管理</a></div>

    </div>
</div>

<div class="content">
    <div style="width: 900px;margin: 0 auto;text-align: center">
        {% block context %}

        {% endblock %}
    </div>
</div>
{% block foot_js %}{% endblock %}
</body>
</html>